//
//  BlackListCell.m
//  VoiceLive
//
//  Created by 凸阿滨 on 2017/10/24.
//  Copyright © 2017年 WB. All rights reserved.
//

#import "BlackListCell.h"
@interface BlackListCell ()
@property (strong, nonatomic) IBOutlet UIButton *freezing;
@property (strong, nonatomic) IBOutlet UILabel *userName;
@property (strong, nonatomic) IBOutlet UILabel *creat_time;

@end

@implementation BlackListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.freezing.layer.borderColor = COLOR_WITH_HEX(0x2E81FF).CGColor;
    self.freezing.layer.borderWidth = 0.5f;
    [self.freezing.layer setCornerRadius:3];
    [self.freezing.layer setMasksToBounds:YES];
}

-(void)setList:(BlackListData *)list{
    _list = list;
    self.userName.text = list.send_name;
    self.creat_time.text = list.created_at;

    
}
#pragma mark 点击解禁
- (IBAction)jiejinAction:(id)sender {
    if([self.delegate respondsToSelector:@selector(clickJiejin:)]){
        [self.delegate clickJiejin:sender];
        
    }
    
}



@end
